Would it matter if the 4049's and the 4021's were both on the 5v and ground coming from the Arduino??
No.
However they are powered they have to be on the same ground.
Is it working on just one shift register without the buffers?
If so then the buffers are wired up wrong.