Source transformation violation
The equivalent circuit is only equivalent when you are looking at current/voltage relationship between the two terminals where you made the conversion. The currents and voltages inside the converted circuit are not necessarily the same as in the original circuit. If you care about the current through the resistor then you can't do any transformations where the resistor is part of the converted circuit.