fix fullscreen flag