Fix regression adding widgets