X-Axis Motor Acting up

The X-axis motor started acting up and jittering and is messing up cuts. It starts off fine and then after a couple seconds begins whining to the flicker of the light on the arduino.

Video Example - https://www.youtube.com/watch?v=YPCJd1LlThs

Image of what happens during cut, it moves to the left slightly each time. -

I also rewired everything to make sure it was okay.

I just want to know if I need to buy a new motor or if this can be fixed. Also the belt is secure and shouldn’t be an issue, I’ve already retightened and fined tuned it many times when I thought it was the issue. If you see any problems that I could fix that would be great.

Thanks, this seemed to have fixed it.