Method `drawRect:withFont` is deprecated in iOS7. Changed to
`drawRect:withAttributes`