Add a workaround for the legacy map editor.