fix saveScreenshot after Maximize/Stretch