Fixed mario sliding indefinitely when ducking.