Now the player is properly slowed down when near a tree