[FIXED] Fix the initial loading of lines

This fixes a bug where the initial line loading would be triggered multiple times