Fix a menu drawing problem for non-OSX targets