[fixed] Pass the correct component instance to willTransitionFrom hooks

Fixes #101