Added default viewBox that represents the image size. This to prevent a bug where resizing the LayeredViewImage had no effect on the image. Now the resizing works fine without have to declare viewBox attribute in svg file.