Fix layer overlap links problem.