Fix CGLSetCurrentContext call