Altered the way particles are spawned.