add test for clicking outside viewport

This test doesn't fail with zero code changes. Normally, that would mean you shouldn't add it. However, there's something similar that can break in some situations. I'd like to prevent this from breaking in the future.

If you know how to tweak this to fail, let me know!