fix sometimes generating a new tiles without tiles moving