Partial fix for #13761.

https://issues.dlang.org/show_bug.cgi?id=13761
Why?