Fixed touch event bug