Fix ByteBuffer position when it used as IntBuffer