Qt Quick marquee text flash new text before animation starts

Hi, I am brand new at using Qt Quick and while messing around with a marquee text example I noticed a strange behaviour that I cannot find an answer for.

The problem is that the text field flashes the new text briefly before the animation starts, the only way I have found so far is to adjust the text.x value in onLineLaidOut , but this only causes the flashing text to move into the clipping area.

Is it possible to change the text property without it first flashing the new text and then start the animation ?