Fix issues related to recycling ContextualUndoViews as list-items related to animations.
(cherry picked from commit f93da8a)