Do not run infinite loop if easing function is not set