How to reproduce:
1. Create a new project
2. In the Project window, select any asset
3. Double-click its name or right-click > “Rename”
4. Right-click and choose “Paste”
5. Observe the result
Expected result: Focus of asset name is lost
Actual result: Text is pasted into the asset name
Reproducible with: 2023.2.0a15, 2023.2.0b17, 2023.3.0a13
Not reproducible with: 2021.3.32f1, 2022.3.13f1, 2023.1.19f1, 2023.2.0a14
Reproduced on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested
Note: UI was changed in the 2023.2.0a15