Player keeps running in water volume

Here is what i’m talking about:

If you don’t want to watch the video here is what happens:
After i jump into the water volume the player keeps running even after i release the W key.
Is there any way i can fix this?