fix menu wrap on non-default themes