Fix ipad actionsheet issue