Fix scroll position when toggling fullscreen