AppleScript Oddity

Yeah, as I said that's not the case. I'm using a module from my fancy "UI Browser Lite" macro that does this:

That's what creates my script. It doesn't change when the element is recaptured, which confirms that the button's element tree is static in both toggle states.

Is that an option? I use this script to get the UI Element info.