[5.0] Add animation workaround in LayoutGroup.