Fix crash in dual pane

Change-Id: Ie10124c6487db9b7629aa2df05d7972d2add7303