fixes popover alignment