This fixes: [#18707] Syncing animation to audio (works fine in 2.45. It does not work properly in 2.48)