Fix `editor.selectedContainer`

Be calm. See #618