Fix the bug that onFinished/onFinishing does not get the right currentIndex param.

In current version, when listen to onFinished/onFinishing with function like function(event, currentIndex), the currentIndex is always undefined.

This is caused by the typo fixed in the commmit.