Currently it seems that any Quick item (Item2D) in 3D view is pickable, so interfears with the View3D pick() method. Item2Ds are infinite plane (see QTBUG-96457 and QTBUG-93095), but if they have visibility set to false or enabled set to false, I think they should be ignored in picking.
Test app attached, disabling any checkbox should make clicking to moon work but currently it doesn't.