fix multilayer not in same extent problem