solve major animation bugs

now it works on most of the animations except circle, circleInside and
circleRotate