avoids a new crash in paraview when 2d text made in the scene
Fixes: paraview/paraview#20153 (closed)