Fix getAngleAroundRad returning NaN