make compatible with menu z-index, sigh.