Fix problems with ParticleGun parameters