Update polyline.class.js

Fixes position in group with transform matrix