setting fullscreen state on exit