Fix redraw canvas lines