Fix crash when trying to load non-existant analyses with the window hidden.