Added handling to ensure projectiles are destroyed