Fixed touchend event handler.