Fixed overlays overlapping problem.