fix screensaver handling