Fixes 3d plots