Fixes circular dependency between view/animation and view/layout_style.