Fix popover arrow direction