cubicTo behaviour

Hi,
I’m porting some old code from Juce 3.2 to Juce 5 (latest stable). I have a component that draws a curved line using an array of coordinates. This code never changed since 2018. The problem is, in the old version of our plugin (Juce 3.2) the render is smooth and curves are ok, while with Juce 5 the render looks like it’s frame-skipping and no curves are draw… just straight lines.

I know that’s a long shot, but has something changed in cubicTo?

Thanks