Fixed a bug which caused the destination view to be dropped on a dismissal animation.