Quantizing MIDI events?

By judging from my 2 pictures, the starting point of the note was right before the intended beat.
Each time I’m pressing the Quantize button, I have to double/triple check before validating. Quite a long process for something that’s supposed to be as quick as hitting a key on a keyboard. It seems I’m not the only one to have this problem: