Fix zero-duration transitions
Merge pull request #867 from michaelsteffen/zero-trans

Fix zero-duration transitions