fix error double click on popover for iPad