Refs #22. Fix key code representation equal to key equivalend but with different modifier flags considered equal.