Fix submenu not being closed after clicking if mouse pointer remains over it on IE8