3D output crashfix