Fixed bug in CustomManyParticleForce that caused crash