Weird behaviour of mouse input, sometimes ignores my clicks

I came across weird problem, I made camera rotation in my character blueprint. Crusor is alway on screen, but hidden when clicked. When clicked and dragged camera rotates. After that i added when left and right mouse buttons are pressed at the same time character moves. Everything works until I release both buttons that are combo for moving. After that it stops listening for my mouse clicks until i click unknown combination of mouse buttons and somehow get it to listen to my mouse clicks again. Any ideas what could it be?

More details if needed below…

Both mouse clicked for moving:
On left and right mouse click i set boolean for each to true. When released they are set to false.
Event tick checks booleans if both are true and executes character movement

Right click and drag to move camera:
Default camera movement (from third person character) that checks if the right click boolean is true through the branch and executes the camera rotation