Fix timestamp bug when resetting simulation.