Update line.class.js

Fixes position in group with transform matrix