Fixes a case when animationDidStop: is called and nextView has already set to nil.