Issue/8996 IE8 issues with the new menu 

@MorrisJobke 

Fix #8996