Fix incorrect target on click events

jQuery Event target is the dom element that originated the event, not the dom
element where you wanted to capture.

So for example, if you click a <i> inside a <th.sort> the target will be the
<i> but we wanted the <th>, which is instead event.currentTarget.