Fixed tile rendering and updating bug.