Why does the interface refresh lag when I set opacity for the display node

femurClipedDisplayNode->SetOpacity(0.6);
tibiaClipedDisplayNode->SetOpacity(0.6);

you can try slicer.app.processEvents() to process pending GUI events