Fixes an issue where custom transition plugins still call didTransitionIn/didTransitionOut even if a transition was cancelled.