Set the anchor of right elements properly.