Razer mouse driver always restart when I open Epic or UE4

I use Razer mouse,the mouse is Ok but every time I open Epic or UE4,I would hear the sound of driver-restarting,and my mouse get sticked for 0.5 sec,then everything goes fine.But this incident happenes so frequently,almost every 2 min this thing will tick me off.More than that,when I click right mouse button to move my camera,that happens,for every time.I just feel hopeless u know?Of course I reinstall an old windows system version,everything goes fine except Epic and UE4.pls help me out