The whole exercise may be interesting but ultimately pointless. All you need is a single comparator with push-pull output. One chip. There's plenty of them to choose from.
You absolutely must tell us what U1 and U3 are. I presume that U1 is a push-pull output comparator (since there's no pull-up), and U3 is a regular op-amp. Typical op-amps will do a very poor job of buffering PWM, so you don't want that. You also don't need a discrete inverter. Swap the comparator inputs to invert the output signal.
Here's the complete circuit you may wish to start with:

simulate this circuit – Schematic created using CircuitLab
TLV1872 is basically a "gate driver lite" and a comparator in one package. It is an excellent part. There are others of course, but that one is fairly foolproof.
I shared the unzoomed version of the PWM-A/ signal. There are distortions at the bottom of the signal.
If you looked at the zoomed version, you'll hopefully get some hints why it looks the way it looks. Hint: Q1 gets saturated and takes forever to turn off. It's just not the way to do it, in spite of what a lot of silly tutorials imply. Saturated BJTs as gate drivers and switching mosfet gates do not (almost) ever go together.