Fixed bug where non-trimmed tilesets weren't read properly.