Fixed switching to full screen and restoring status bar on OSX (ref #305).