Corrected text rendering to fit inside component