Fix zero-width keyframe condition