[qtgrilo] Fix crash caused by garbage collection of model data.