Prevent preventDefault from always being executed.

I can't find any tests for the `KeyManager`.
not sure about the whole logic yet (I need more time to remember the whole thing). However the test is wrong (and useless). My guess you wanted to write:

if (keyComposerEvent.defaultPrevented) {
   event.preventDefault();
}