Make keyboard shortcuts work on Mac