pad is shown as selected in text editor while being dragged