Fixed fullscreen functionality