Fix bug with running from other direction.