This fixes a problem when loading the webgl addon before the terminal is attached. See microsoft/vscode#85048