Fixed touch event handling.