Fix #10120 ProgressBar delay set_window_handle until needed
Required by recent changes to window_handle functions.
Test is Filters>Dev>SF>Test>Sphere, which throws CRITICAL until merged.
Required by recent changes to window_handle functions.
Test is Filters>Dev>SF>Test>Sphere, which throws CRITICAL until merged.