fixes #4292 Add-File-window-breaking-on-Host