Scale: on mouse-click, make the clicked window selected

Not all mouse clicks lead to activation. One example is right-click, which
opens the window context menu. It then makes sense to make the clicked window
selected.