Put call of shouldAllowHiddenMenuBar into ifndef OSX

TODO: Write that ifndef in shouldAllowHiddenMenuBar, instead