Fix problem with Cmd key on Mac