Use native menu bar only if not hidden

On Unity (Ubuntu) menu bar is shown at top panel. Hiding menu bar can be
only used if menu is in main window.