Fix division by Infinity (in tween duration calculation)