Fix content size calculation bug when setting text via setText: