Scale: on mouse-induced zoom, make the zoomed window selected

If the zoomed window is not made selected the Ctrl+w shortcut will operate on whatever window happened to be active, which will probably come as a surprise to the user.

See #2196.