Also bail out of keypress events when on mac and metaKey is down

Issue #2587