Using correct animation event. Fixes #1018.

Vendor "prefixes".