Fix text rendering