fix text scaling issues