fixed the first show of menu in firefox