library: fixed weirdness continue_time overflow (float->int)