Fixing issue with onDrag method. closes #3