formulas in globals using other globals don't refresh without resaving

EDIT: reported before

is a tiny preset reproducing an issue.

make a switch globals and 3 colour globals, switch, lcol, dcol, col.

set lcol and dcol to any colour you want.

set col to if(switch, lcol, dcol)

add a shape to toggle the switch and set it's colour to col

tapping the shape won't toggle it's colour, but toggling the switch and resaving will.