Fix `editor.selectedContainer`

This was a bug. Fixed. It caused this test to intermittently fail.