Fix ByteBuffer overflow.