fix fullscreen mode