Basic bounding-box collision detection.