Fixed touch event handler