Stack Overflow Error When using live.button and midi mapping with Live.

Will's icon

I have a pretty giant plugin that worked fine (it throw tons of errors that I cannot prevent related to Live and deferring, but no lagginess or performance problems), and I recently tried adding a simple live.button to the mix so that I can map the plugin to key/midi control in Ableton Live. If I click the button (which launches the entire plugin) with the mouse, no problem, but if I map it to a key and try launching it via the key, I get a "Stack Overflow" message. Why is this happening with midi mapping?

Will's icon

Fixed by updating to 6.1.2.