Fix: canvas line, rect and circle.