Fix the legacy map editor.