Fixed touch event errors.