Fix panning clamping on map.