Fixed backtracking

Fixed being able to reverse your direction back into yourself by
changing directions twice before the movement tick