This fixes another regression in the previous commit that fixed other known bugs.
Attach a file by drag & drop or click to upload