Escape should deselect the selected variable, but I notice it's not working as expected in the Global Variables window. I think the first escape is used by the search field maybe, so you have to hit escape twice. But that should still be quicker than scrolling to an empty space.
I agree this UI could be streamlined.