Add simple player bounds checking.

The bottom and right sides need to take into account the size of the character
sprite; they currently do not.