Fix event invocation.

Handlers are not fired due to variable bind timing.