Fix bugs in dragenter/leave event targets