Fix possible soft-crash on open project (and maybe a few other scenarios)