Fixes a regression introduced by commit 1e35966e.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52429