Check the bounding box