This sounds a lot like the problem I had with a glCanvas within a notebook control - at least if I'm reading you correctly. The glCanvas was at times drawing through all tabs (in os x - windows seemed ok). Flipping between tabs by hand would eventually get the drawing "right" - as in the correct tab contents would show and nothing else - but I never found an in-code solution. Eventually I took the easy way out and designed around the problem by removing canvases from notebook controls altogether.
I'll be interested in hearing how you go with this.
I'll be interested in hearing how you go with this.