Clean up fullscreen code