Always include first and last frame as keyframes