We should probably make UpdateFromMemory take a rectangle with stride explicitly, although maybe it doesn't matter often..