Improve text rects