Fix keyframe interpolation when some events have zero shift

Close #3