Fix race condition where widgets wouldn't get the right size on Windows.