Allow named animation speed to be 0. Fixes #6579.