
Applied modified patch from Massimo that makes sure we don't use negative width/height if source and dest regions don't overlap.
Applied modified patch from Massimo that makes sure we don't use negative width/height if source and dest regions don't overlap.