Fixed ticks counter.
Merge branch 'time_fix' into dev
Fixed ticks counter.