Add condition to test width and height of the TileMapObject