Fix imagetransfer

Fix image transfer for chrome_clipboard and drag-and-drop extensions.