Don't paint with maximum framerate when tab minimized
Don't paint with maximum framerate when tab minimized

fixes #222

hslayers/hslayers-ng,hslayers/hslayers-ng,hslayers/hslayers-ng,hslayers/hslayers-ng