Fixed a bug where the upper and left tile rows and columns would disappear prematurely.