ParticleSpawner: Fix crash when attaching to invisible entity