Why does this rising-edge detector fail when connected to this t flip-flop?

By routing the output of the flip-flop to a piston that connects a torch to the circuit breaker this bug can be circumvented:

Fixed circuit