Fix popover placement and container