[Map Editor] bugs fixed.