Fix widget instanciation

Signed-off-by: Karang <arthur.hennequin@free.fr>