fixed crash when animable component is created