fix right click bug on tree item