Fix #9683 (crash in add feature map tool)