Workaround for drag and drop.

Augment UserAgent so that drag and drop attachment can work.