Fixed bug with callback

After end animation callback function throw error