Fix text rendering issues on iOS