Fix potential crash on closing welcome box.