move make_active call into MBGL_USE_CGL block