Patch for JXG.Curve.updateRenderer()