Don't we only want to prevent this in the case of Mac native menus, but add in all other cases? This logic will only add it for Windows (or Linux) native menus. I think it should be:
```
    if (brackets.platform !== "mac" || brackets.inBrowser) {
```