I' having roughly the same problem. I investigated some further and noticed that DrawImage returns status 3 (OutOfMemory), but this is not the case.

Mazdak, did you check the last error code after...