Re-implement hiding of the menubar in fullscreen with render to main.