When layer width changed the viewbox size needs to consider stage scale