The PNP transistors in your corrected circuit never turn off. Their base voltage needs to be the same as their emitter voltage which is 5V, not 3.3V.
You need to add level-shifting transistors so that the PNP transistors turn off when the input signal is 3.3V.
You need to add level-shifting transistors so that the PNP transistors turn off when the input signal is 3.3V.