Fixed an issue that crashes on Win32