[Particles] Fixed bug with vertex computation