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.

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