Fix particle movement.

This has always been broken, but was obscured until now because beams
and particles were handled in the same loop.

Change-Id: If203afcdc60e435064442346ec68e1dcc6a1fc9c