replace some label apis that are deprecated (sizeWithFont, drawInRect)