this is a dirty hack, but it does clear the keys-pressed set in the instance where it used to stick
after some research, it sounds like just a general mac os quirk that keyup events are ignored on the character keys when cmd is being held. dirty hacking required to avoid this behavior