Fix gallery on fullscreen