windows controller: Don't crash on failed clipboard copy. closes #1437 #1438