Fix crash when copying a map with label leaders