I am using getGeomExtents() to get bounding box. But the bounding box I am getting from getGeomExtents() is very large which also includes invisible objects.