added old fixes to render3d