Added a fix for the easing function
Added a fix for the easing function