Fix bug in Snake