CurveEditor: bug fix with curves manipulation