Rectangular selection using cardmaker

I’m trying to mimic this behavior. But I can’t past the rectangle drawing section. I think it’s because QPanda3D copy the graphic stream from Panda3D into an Image Panel. Could it be?