Fix for when snake bites his own tail