Fix bad decoding in particle packets.