Move wrap mode out of AttributeAnimation.