For loop typo when rendering mines