fix bug updating tiles after giving command in past