Midi Delay Compensation

Hey everyone, I’m not sure I titled this post right but here’s what I’m running into.

I record a part in with my M-Audio Keystation 88 and It sounds fine against click while I’m playing it. Then when I go to listen back all the midi parts are early by about a 1/32 note. So I have to drag everything to the right before I can quantize my part.

Has anyone run into this?