Fix `editor.selectedContainer`

This is simpler than the stuff that was below. And it allows us to use `$.addBack` with older jQuerys that didn't yet have it.