First pass at scissor testing.

Part of #40.
Take the scissor rectangle into account for hit testing.

Closes #40.