fixed a deprecated call to sizeWithFont in iOS 7