A jQuery event "fixHook" for pointer and touch events.