Fix crash when links are clicked in preview pane

Bug: 64418
Change-Id: If7201bd3cfb458c788b9ce907a0325bc83125a51