Revert tilemap.cpp