Changed fullscreen code