fix clip plane
Fix outlining bug
mbtiles: fix profile detection code