- fix the positioning of the overlay depending on the CSS position of the parent element