Interaction target reversed to none if layer has visibility boolean set to hidden

Interactions set to a frame/object while hidden (viability boolean) by a variable loses interaction target (set back to none, triggers remains). Workaround: unlink visibility boolean from frame, set interaction target, add visibility boolean back