Editor: fix an error message when creating a new map (#200).