Make sure we cancel autorepeat when switching webmodes
This is a fix for https://github.com/plexinc/plex-media-player-private/issues/517
When switching webmodes, we never get the up event. The inputhandler is probably reset as the window content changes.
This will ensure that any pending action like Ctrl-M will not continue triggering the toggle.