prevent shift register to start at random state

As Mike said:

Try 10K and 100nF (.1uF) as a starting point.

Edit
More correctly:

2017-10-28_16-36-01.jpg