Handle undefined keyframes