Handle multiple gl widges on Mac.