Fix mac native menu event

Squashed version of https://github.com/adobe/brackets-shell/pull/261.