Multiplexing a big 7-seg display with MAX7219

Look at the output drive specs of the CD40106 vs the input drive current requirement of the ULN2003.

The CD40106 is really marginal to drive the ULN2003.
Find a better part.