Added forgotten imports of limits to tileset.cpp.