Improved the fullscreen behavior in the visualization