More fixes for touchEnd event.