shifter register

You need decoupling on the 595, could easily be the problem.