tiled bugfixes