fix for setting an anchor when loading one selected in the editor.