OSX recently updated to 10.13.2 which I think might coincide with the start of the problem. NoMachine version is 6.0.66 on both client and server.
The problem is not present when not in a NoMachine session. I’ll try editing the node.cfg tonight when I have access to the computer.