Collision detection for AABBs with level.