Elevation and azimuth are now safely clamped.