VtkImplicitPlaneWidget2: Color bleeding

If I try to move the plane where there is another colored plane color bleeding is happening.

As you can see from the image that the implicit plane (the white one) if I move and it gets superimposed on the top and bottom plane it doesn’t blend in.

I will be grateful if anyone could suggest how this issue could be resolved.

Thank you for your support!