Workaround for bug of CTRunDelegateRef and CTFramesetterRef on iOS 5/6.