Refactored `RelativeRectangle`