trying a workaround for opengl on OSX, doesn't work