ENH: Window sends a 'stay awake' signal during flip (win32 and OSX)