My projectiles are destroyed or not spawning at a certain distance from the center of map. How can I prevent this?

thank you so much. You saved me