Fix anchors for MainRectangle.