Fixing possible unbalanced calls to appearance transition methods if the user swipes to pop while a new view is simultaneously pushed on screen.