Fixed issue with width and height attributes for making animation from graphic.