compute Line inertia correctly, draw line in PixiDemo