fixed a bug where all particles were processed twice on the ipad