Input lag when creating and removing widget button (Also can break player's input and potential memory leaks)

There’s an old thread about memory leak: