Fix `editor.selectedContainer`

We can deal with my surprise in #618