[BUGFIX] Restore expand state of module groups