Fixes https://github.com/microsoft/vscode/issues/127081 Refs https://github.com/microsoft/vscode/issues/127140