Fixed incorrect value not being sent to animate method