fixed gfxline restitching issue