Fix for NaN on zoom-in on hitting ground