Hopefully fix offscreen software drawing

This should fix offscreen software drawing bugs in
surface_alpha_blit and surface_additive_blit.
This will require some further testing though.