hack to prevent moving on drag