Allow changing transitionLeave from false to true

Fixes #724.