Fix copy issue in Jasmine window.

Don't call ::TranslateAccelerator for a window that doesn't have the menu bar. This fixes issue [#2986](https://github.com/adobe/brackets/issues/2986).