Fix keyboard shortcuts on OS X