fix bug where food could potentially spawn on tail of snake