Fix background subtraction color inversion.