fixes the bug where tiles did not reveal