fixed when clicked button or slider will drag the widget problem