fix for map resize messing extents