Fix for negative altitude.