Fix: Make project freezing work on Windows again.

Reported-by: j d, Adam and Ercasta