fixes the map centering