How to reproduce:
1. Create a new project and install the Visual Effects package
2. Create any VFX Graph and open it
3. Right-click in the VFX Graph tab -> Create Group Node
4. Right-click slightly above the Group Node text and select "Duplicate" or "Duplicate with edges"
5. Observe the results
Expected result: The Group Node is duplicated
Actual results: The Group Node is duplicated and the header of the original Group Node is in the renaming
Reproducible with: 6000.0.55f1, 6000.1.15f1, 6000.2.0f1, 6000.3.0a4
Reproducible on: macOS Sequoia 15.5 (M1)
Not reproducible on: No other environment tested
Note: The issue is not very easy to reproduce, for the best results, the Group Node should be selected by clicking above the text and right-clicked above the text