Putting them in the center of the rectangles