Bugfix for my previous snapping commit. In some cases, bones still didn't snap correctly (parentless 'root' bones). That was because those cases assumed that constraints had no effect on those bones.