fix #564, fix #652 - improve handling of mouse-driven selections

### Changes

- Clicking in visual mode/normal mode updates xpos.
- Shift-clicking enters visual mode.

### Notes

When shift-clicking, the xpos isn't updated, as we cannot easily capture the post-command event for mouse commands.