Change the Keybindings so that Escape puts you into Cursor mode and Clicking the window puts you into Camera mode again.