Fix `editor.selectedContainer`

It is used in the rewritten `editor.selectedContainer`.