Fix gpa bug 1525 (crash in clipboard)