Fixes a bug introduced in the fix for #89547.
Merge pull request #261 from luisromangz/89547-WindowTitleFix

Fixes a bug introduced in the fix for #89547.