Fixed reset loop bug on build grid