fix tree menu second click not show