Fix problematic use of GLEXEC_TARGET_PROXY. #3794