Fix callback scope context when triggering an event