Made the setFont method work in iOS 8 beta 1