Fix for small bug in animation-lerping