Discard incorrect `KeyboardEvent.key` for `keydown` and `keyup` in IE