Align the rectangle