fix fullscreen window in some situation