Touchend (and vmouseup) are not propagated if $.event.special.tap.emitTapOnTaphold is set to false

Currently, touchend events (and possibly others) are stopped by code handling the "no tap on taphold" feature (#5983). This pull request tries to fix the problem.