Allow changing transitionLeave from false to true

Fixes #724.

I believe there may be some other problems when changing the transition name and these flags; I'll investigate and fix those separately.