OS X keymapping fix