Ensure context is current before calling glewInit.