The display state of root widget(nested_form) now no longer depends on its
parent widget's visibility. Otherwise, the solution is complicated and
error-prone, it is impossible to maintain the correct state when the
visibility of root widget is changed directly by system API.