Fixing 3d plots