fix popover view flashing