Fix bounding box intersection test.