Support the case where a transitioning or event callback can itself raise events.