Fix for a problem with accelerator keys running modal comps while an OSX menu is open.