Fix map resizing