When I run the Isaac Sim offline_generation.py sometimes the random objects are spawn outside of the warehouse usd. How to fix this?

Sometimes when I run the offline_generation.py, the objects are spawn outside of the warehouse USD where it’s all black (seems outside the factory there is not roads etc). So, is there a way to enforce it such that the spawn objects are located inside the warehouse.usd and not elsewhere?

The offline_generation.py is located here:

(base) mona@ard-gpu-01:~/.local/share/ov/pkg/isaac_sim-2022.2.0$ ls standalone_examples/replicator/offline_generation.py 
-rw-r--r-- 1 mona mona 21K Feb  2 21:33 standalone_examples/replicator/offline_generation.py