(OSX) Properly process modifier keys