Yeah it's your code lol :D yes exactly it look to another angle for exampel if i move up he look between up and left or right
when i press on up-down-left-right directions, sometimes the sprite stay betweenn, i mean in an angle
here i was moving to the bottom, and you see the sprite stay in an angle.