When recording I'm always early from the beat

I have a weird issue while recording in cubase with a click. For some reason the notes always turn out a bit earlier than they should be:
Here I was attempting to play twice a bar on the beat, pretty sure it’s not me just playing early…

Anything that might cause that or a way to fix it? (For example setting a delay for play back but not for live playing… I don’t know)