When calculating the layout size, the problem occurs.