Fix for affine transforms with a negative scaling factor in the software renderer.