Fix `editor.selectedContainer`

@winhamwr thank you. This is actually correct.