editor: Use raw head selection for rename (#60594)