Fixed bug where tile sets with a width and height that were equally divisible by the tile width and height were not parsed properly.