Add compatibility with no animation support

Signed-off-by: dingxin <dingxin.git@gmail.com>