Fix some bugs and finally draw a polygon given its angle.