Fix a bad rebase in normalizeKeyframeDictionary()

Cursed JavaScript hoisting!

This fixes test-partial-keyframes.html.