Don’t use a mouse click trigger for hamburger menus. The second click is usually on the navlink or outside of the navmenu so the animation doesn’t reverse as intended.
Instead, add the interaction to the navbar itself. Use the “Navbar opens” trigger. This will solve your problem.