started animations and fixed uninitialized variable in Component::component