Fixes keyDown for Chrome