fixed zoom to fit in 3d