Revert "Fix minor bug in dragging action"

This reverts commit 31268584f9e7ca2b27da6aa2518b0f67411fd86b.