Fix crashes in all outlets window while switching and if more than one widget