Fixed a bug with sprinting

Sprinting was buggy. Fixed it :)