Added hitbox handling.

Fixes #14.