fixed displaying the menubar on OS X