sort out map bounds at load to avoid weird panning limits