Fix 'loop timeout returning invalid lat/lon' bug