Fixed potential crash for a bad bounding box.