Work around bug in CrossProcessCursorWrapper and 1MB limit