Pass style context and pres context to SetCoord so we can resolve percent lengths (and avoid some assertions).