CON-1809 | Fix overlapping of anchored element

check the comment above