I am now unable to recreate the issue. When my cursor was stuck I reloaded the plugin and that didn't initially work but it was fixed once I reconnected. Before reloading the plugin it was bugged when I would rejoin and try to make another button.
I created my first button to set up a menu with custombuttontoggle. When I added the next button it caused my cursor to get stuck overlaying everything. After reconnecting I tried to make another button and it got stuck again. I tried to respawn, which didnt work, then reloading the plugin, which didnt work until I reconnected.
Currently I can add or edit buttons no problem and my cursor is fine.
I tried to provide as much information as I could. I hope this helps
EDIT: So When i type these buttons all my keybinds get triggered. and when that happens i think its messing with something because i tabbed back into my game and its bugged again