New attempt to fix WinRender bug.