fix the "double press" issue of popups for iphone