Fixed visual model refresh in editor.