`.selectedContainer` with non-collapsed selections

I'm working with `$anchor` throughout this method, so this is consistent.