Fixing height when contained in popover controller on iPad and pre-iOS7.