Unwished unselect objects automatically!

The thing is, in version 4.11, select any object, then click the Play button and then click the Stop button, and the selected object will continue to be selected.

However, in version 4.18, select any object and then click the Play button and then click the Stop button, and the object which is selected before will be automatically unselected. Which brings great inconvenience to debugging.

This maybe a big broblem,
Can someone say something?