(DumpProc): Fix calculation of x/y offsets.