Trigger onKeyReleased only after the key has been released