It is most likely causing lag trying to load all the chunks within sight so fast letting it load a little at a time will of course cause less lag then as you walk it only has to load a few at a time because the chunks around you are already loaded. Hoped this helped