Let dimension inherit rect.