Fixed animation issue on popping view controllers.