Fix dockable widgets visibility when running from command line