[BUGFIX] Infinite loop when reading page rootline in workspace mode