Properly handle two view infos when adding them to the view graph.

Change-Id: I39769fe852a6be508546c9f8acbe2424fbf26c0a