Main menu dropdown bug fix