It seems that Apple fixed this issue starting with Yosemite.
Attach a file by drag & drop or click to upload