Fixed a bug

when in the animation, the view controller dealloc, will make
application crash.