Hey,
The solution would be to increase the frequency of random movements further (e.g. every ~2 mins). The only way to prevent yourself logging out is to either move the mouse or camera, and this is exactly what the random movements are doing. Otherwise, if you don't move either mouse or camera (e.g. with random movements disabled, or very infrequent), you will be logged out just like a genuine player would.
-Apa