small fix of previous change affecting animations