Update overlay.xul

added checks for if really entered/left