drag and click bug fixed