Fix clipboard image paste.