I removed the binding function from the visibility and made it using the tick in the hud:
I’m not marking this as solved because I still have no idea why my original solution doesn’t work.