Make sure the encoder has the correct PPR.