Fixed a bug where in some cases the restoration of projects containing a viewer connected to multiple inputs could not be loaded