solve MiniMap layerdepth bug