How to limit pulse duration?
If you just need the pulse, you could do something like this.  Add an inverter if needed.



simulate this circuit &ndash; Schematic created using CircuitLab
The output can be tuned by adjusting the RC values R1, R2, C1.