fixed lineto render issue