fixes UITextLayer drawing under 10.8