Fix bug with dragging in IE10