Update Tilemap.js

Changed a line that caused an issue when working with blank tilemaps.