Don't render empty keyframes. Fixes #1441