bugfix: snake died if reversed and eaten food at the same time