fix(registerState): make registerState() use current version of transitionTo()

fix hash-overwriting issue on new page load / page reload