make pict boxes work again

at least on a small example, by
add a bit more 3d code