Prevent flickering on mouse-hover menu items