[Win32] Fixed 'Bug 13158 - Display becomes corrupted on Windows'