Fixed infrequent error that may have been causing drift.