Fix editor UI-model sync.