fix rendering of particles