Created by: pautomas
No mouseout event is triggered when the parent element of the tooltip changes position, so the tooltip doesn't dissapear even if the cursor isn't hover it anymore.
A check every 500 milliseconds has been added. It looks for the position of the parent item and if it changed hides the tooltip.