Position text within the rectangle for image description