Fix bug with fullscreen