Updated the drawAlertBox method for iOS 7

The drawAlertBox relied on the UIView's contentSize property.
As of iOS 7, this method has changed a bit for UITextViews, so it was replaced with the sizeThatFits: method which appears to be working better.