FIX: Possible cause of crash on map enlargement in some cases.