Issue #5933: fixed spine debug mode