fixed right click debug menu bug