Fix zero-duration transitions.