Adding tracking of current time when frame or speed is changed