Fixed unit test which broke test building.
[BUG #6909] Prevent dragover and dragleave events on the drag&drop cursor