fix out of bounds tile check