Fix #3810: DirChooser vanishing behind all other windows during startup.