fix external tileset loading.

Fixes external tilesets and tileset images failing to load when not
located in the same directory as the map file.