Bias current compensation resistor