Fix the problem relates to the displing for popover