The reason why your platformer is still moving is because you are actually still dragging the ground sprite, you are just resetting it just after.
If you do the drag and drop yourself you can limit the ground sprite.
I have made a small example, dont know if that is what you were looking for?