fixes text & leaf animation