[[ Cocoa ]] Attempt to fix out-of-sync modifierflags.