Added metaKey for rotation for Mac.