Boolean widget undefined if invisible