Fixed disabling of the menu bar.