There is a continuity fault in the lines in the lower left corner of the drawn rectangle, as shown in the attached image.
code that draws the rectangle
pdf