vtkShadowMapPass causes actor picking doesn't work,and the actors with vtkUnstructuredGrid source don't show anymore

Hello,to enable shadow,vtkShadowMapPass is added like this:

//enable light shadow showing
vtkNew shadows;
vtkNew seq;
vtkNew passes;
passes->AddItem(shadows->GetShadowMapBakerPass());
passes->AddItem(shadows);
seq->SetPasses(passes);
vtkNew cameraP;
cameraP->SetDelegatePass(seq);
// tell the renderer to use our render pass pipeline
vtkOpenGLRenderer glrenderer = dynamic_cast<vtkOpenGLRenderer>(renderer.GetPointer());
glrenderer->SetPass(cameraP);

Is there any way to make picking work again?