Fix legacy map importer NRE. Closes #4366
Merge pull request #4367 from ScottNZ/editor

Fix legacy map importer NRE. Closes #4366