fix actionsheet error on iPad