I figured out what was wrong. You can set the fps limit inside the game. If you set the value "60" or "unlimited" then the lag begins. At the limit of 30 fps, the game works perfectly.i think the problem is in my computer. I have an Intel I3 with a video card built into it.
maybe it will be...