Fix and test width/height accessors.