Fixes an issue where resizing the window while the print selection dialog was open would make it disappear.
Fixes an issue where resizing the window while the print selection dialog was open would make it disappear.