Fix a selection bug in the data explorer when right clicking.