Scroll animation speed not updating on screen change

I’m trying to use this formula to change the animation speed based on what screen I’m currently on:
$if(si(screen)=1,280,160)$

The speed only updates when I either open the formula or apply the wallpaper.

I’ve also tried $tu(rnd,.016,if(si(screen)=1,280,160),if(si(screen)=1,280,160))$ to try and force the speed to update every second, but that doesn’t work either.

Both formulas work when updating text

Since this is an “If supported” function, I would first test if you actually get the value to change using a simple text element. This way, you can isolate if this is an issue with the animation or si(screen) not providing the right values.