move the rectangle to the irght place by correctly understanding how it is drawn