Disable Behavior and Transition animations when needed
Part of #133 (closed).
When animations are globally disabled, their durations evaluate to 0.
Behavior and Transition objects for animations can produce unusual results with a duration of 0; better to disable them entirely.