Fixes minimum width and height being hardcoded when it's composed of multiple units in HtmlWriter grid methods.