Fix `editor.selectedContainer`

I think that this is good enough for now.