Flexible proper clipboard image handling