Fixing the display of the widgets.

#6778