Reproduction steps:
1. Open the attached “My project (17).zip“ project
2. Double-click on the “Spearman.controller” Animator Controller to open the Animator window
3. Double-click on the "Regaining energy" State to enter the Sub-State Machine
4. Select a Transition arrow and then deselect it
5. Observe the Editor
Expected result: After deselecting the Editor doesn’t freeze
Actual result: After deselecting the Editor freezes
Reproducible with: 2020.3.48f1, 2021.3.25f1, 2022.2.19f1, 2023.1.0b16, 2023.2.0a14
Reproduced on: macOS Monterey 12.6 (Intel), Windows 10 (by the reporter)