making bindings work again after keydown/keypress change