Make sure that mouseenter/mouseleave fire on the correct element when doing delegation. Fixes #9069.
Attach a file by drag & drop or click to upload