Fórmula on the limit animation field not working as expected

I'm trying to limit the scrolling of one komponent depending on a global. I'm using the following formula: $if(gv(carro)=1,168,336)$

But the limit only works with 168. If the global gets deactivated, it still limits only to 168 and the animation stops halfway.

If I open klwp, deactivate the global and save, it will now only use the 336 limit. Making the animation go farther away than required.

Is there a workaround? I'm I doing something wrong?

This is related to this bug:


Please subscribe to it for updates, its confirmed