Fixed touch and keyboard events