Fix overflowing popover