fix multiplication error
add a "reset tile visibility" function

for debug mode, to make LOF checking easier.