Attempt to fix map resizing