Added width and height attributes to Animation