fix text bounding box