Added a check if the target elements are visible before creating hints for them, and fixed hint positioning.
Remove a console.log