When the container is smaller than the display area, the calculation error