Refactor ParticleEmitter2D.