Fix map centering bug