Fix overflow when a batch is displayed.