Fix dead snake not flying away in debug mode