Do not use cached modifier values in key event support

See Bug 399989 - [KeyEvents] The state of the modifier key is not
updated for cancelled keys.