Fix a bug in the 10 ms timing.