fix braking fullscreen mode