fix animation bug

Signed-off-by: Randell Quitain <cprjk.buzz@gmail.com>