Hmm, can you try eliminating surface->resize() calls and tell us if that prevents the bug from happening?
Hmm, can you try eliminating surface->resize() calls and tell us if that prevents the bug from happening?