Drag/drop: fix save state calculation for downloaded images

Same fix as 435cb4631457cd651f9af7d3c773dfa39f4bd89c, but I forgot to
mirror those changes across the drag/drop variant of the code.