Fix quick view unit test to not rely on offset() for popover