Any CadLwPolyline with a coordinate of 0,0 ignores that Point as valid coordinate. You can use the following example from another post to view the issue. This will render a triangle rather than a rectangle.
using (Cad…...coordinate of 0,0 ignores that point as valid coordinate. You can...ColorId = 1; // index of color: AutoCAD Color Index RGB Equivalents...