Added ability to define a rectangle from where the action sheet is presented in a popover (on iPad).