Fix label disappears while dragging

fix #846