Allow changing transitionLeave from false to true

Fixes #724.
Merge pull request #728 from spicyj/gh-724

Allow changing transitionLeave from false to true