Fixed nested animation declaration