Fixed LineDashedMaterial support in CanvasRenderer. See #4921.