Fix bug where the cat can get stuck walking. Closes #8.