Fixed a bug with CGRect coordinates, now the source for iPad popover view can also be a subview of a subview