Fix printing support for main 3D viewer