send `this` to dispatchEvent callbacks

as requested in #434