canvas-animation: Handle changes to lineCap and lineJoin properties.