win32 window fix