Fix bug where popover would change size on iOS 7