Fixed spawnParticle case