Fix a bug in linkTransition() caused by a shadowed variable