As suspected, it's just not switching and using your 740m. Are you plugged in? Check in the nvidia control panel and make sure it's on the game list and showing the correct gpu to use. You can also try changing to high performance power plan for windows.