This fixes #3681 (cherry picked from commit 06ed4654)
Attach a file by drag & drop or click to upload