Possible fix for empty clipboard exception