Correct timer elapsedAfterLastTick update.

Signed-off-by: Y.Moon <chglove@live.cn>