Fix creating a transition from the callback of a previous one.