Problems with sprinting in minecraft?

Mi
3

Since today I have problems sprinting in Minecraft. Every time I double, W, it looks like I'm walking to the edge of the block but then being reset. Did someone already have that and what did you do about it?

co

Ctrl + w

Mc

Just put Sprint on R. This is best for everyone involved

Mi

Thanks for the tip but unfortunately it doesn't work