Bad choice of device.
The CD4051 in particular has a relatively high "on" resistance, about 300 ohms, so you are using it as the current limiting resistor for the LEDs. This is probably outside the specifications (current limit) for the device and not recommended.
The 74HC4051 has a lower "on" resistance, but even then is not really designed for the purpose.