Fix bug where player gets hung up on hills