Fixed error if no width or height attribute is present in the Image node.