Not sure about the 12C chip, but on 12F series GPIO3 is the MCLR pin and what could be happening is by grounding this you are resetting the PIC - there is a way of disabling the reset function on the 12F series, so you might need to do the same on the 12C chip