There's no point in also putting the file:// URL, so catch the event if saving the bitmap from the clipboard is successful. (cherry picked from commit 7b520da4)