Fixed a small issue with the actionsheet popover on iOS 8