Grid: Limit applicability of width override in resize

This greatly reduces unwanted edge cases caused by off-by-one rounding errors
(in which case the contentNode's offsetWidth is one greater).