Added line segment rendering.
Fixed Rectangle not correctly tracking its origin. Added UAT.