Fix QuickView popover being in the wrong pane

For #8959