Viz should read parent element width and height