Fix bug leaving fullscreen