Fix `restore --tree` for the multi-monitor case