fix($state): allows superseding transitions from callbacks

Closes #516