Reproduction steps:
1. Open the attached project
2. Open the SampleScene.unity in the /Assets/Scenes folder in the Project window
3. Select the "DragAndDrop" GameObject in the Hierarchy window
4. Drag the Object from the "Drag And Drop Test Object" Script Component's Object Preview window to the Scene view
5. Observe the Inspector and Hierarchy windows behavior the moment the cursor enters the Scene view
Expected result: the newly instantiated GameObject should be selected
Actual result: the selection goes to the newly instantiated GameObject and then it reselects the previous GameObject
Reproducible with: 2019.4.39f1, 2020.3.36f1, 2021.3.5f1, 2022.1.6f1, 2022.2.0a17, 2023.1.0a1
Reproducible on: Windows 10 (21H2)