lima: also check tiled and depth case when import