Fix wrong animation warning