CON-1809 | Fix overlapping of anchored element

please do not overwrite global variable `window`. Use `w`, `win` or something else.