Changed CPipe and CPolygon(when 4 sided) to have the origin in the bottom left corner