Fix a bug in MTEngine that leads to a negative value of msec for single characters.