Fixed a particle bug