Fixed bug 'TypeError: event.dataTransfer is undefined'