Mouse input actions not working properly when mouse is shown.

Hi.

I’m making a game where the player character is looking in the mouse direction. But when the mouse is set to show, mouse input actions stop working properly.
I made sure to disable click/touch events, and set input mode to the game only. Didn’t help.
UE 4.26

Found plugin to fix it.