[MapEditor] Fixed map saving