Put a "wait 0 seconds" above the actions in Event 2.
The toggle happens, and the next event toggles it back off.
The wait makes it toggle after the tick is over, which is after the second event.
My preferred toggle is:
If the frame = 0 the statement in parenthesis is true meaning it equals 1. 1 times 1 sets it to frame 1.
if the statement is false, (=1) 1 times 0 sets it to frame 0.