fix for 3d capture