Fixed #3654, millisecond ticks not placed correctly