CON-1016: Avoid closing notification menu when mouse is on border