Switch to select tool when tools are disabled.

Fixes #509