Modified calls to invalidateIntrinsicContentSize to ensure backwards compatibility with iOS 5.0.