Fixed: tile type now gets properly written into the map region file from the editor