Fixed buggy easing functions