Cocos2d-x used a deprecated method to calculates the bounding rect of a string on iOS 7.