Events: Fixes the problem that touchend events were stopped

(preventing vmouseup-s) if taphold is set to prevent a following tap event

This refines the modifications made in gh-5983.

(cherry picked from commit f95bec6a9636e47a645a2861f4eaf077f19521a1)

Closes gh-6719
Fixes gh-7494
Re gh-5983