fix fullscreen flag better