[UE 5.1.1] Problem With "Game and UI" Input Mode

I have already set bShowMouseCursor to true and it is shown when the menu opens. It just disappears while the right mouse button is down.