Preview: Clipboard exception fixed (#719)

Fixes #719.