Updating the popover position.