fix debug build
Merge branch 'release_12_1' of https://github.com/rttag/Collage into release_12_1
treecast fail safety first commit