MIDI notes recorded earlier than they sound

D_Sane, are you saying you’re experiencing problem 2, or is it problem 1?

Have you tried to do the same (whatever you were trying to do) with the same hardware and a different DAW software?