fix animation and tween bugs