Fix bug in "Link to Skeleton" action