Correct layer order after location is fetched