SVG Drawing didn't follow the window scroll


In a reactive application, I have an issue with SVG lines that didn't follow the window scroll movement until I "resize" the window.

To illutsrate the issue I've attached two screenshots.

Basically, I have two DIV. They are "connected" through a SVG line (I use leader-line.js script for that). Everything works like a charm until I need to scroll down the page then the page scroll but the line remains at its position (like a floating div). 

Initial position:

After scrolling

and after "small" resize of the window (the line reposition correctly):

Then if I resize the window (even only of 1 or 2 pixels) the SVG line reposition correctly.

Any ideas how to fix this ?

Thanks a lot for any help on this.