Fix drag and drop problem with tags