fix dragWithinParent() and drag() with limits

This makes limits local to the parent, and so any rotation movement,
etc, of the parent will keep proper drag limits.