OpenGLContext overwrites native UI elements

I am putting together a combined view with JUCE output and native controls. If I set 

openGLContext.attachTo (*getTopLevelComponent());

In MainComponent.cpp I see that the JUCE OpenGL output overwrites the native controls (in my case a navigation drawer).

Is there a way around this? 

No way around that, it has to use an OS view to hold the GL, and it's hard to make that play well with other native views that you may be using