Fix text layout