Double buffer issues on win32 fixed