Moved last currentTime assignment to tick.