Fix `this` binding when not using event delegation.