Are you a moral grandstander?
If the root of moral grandstanding is our own motivation, the solution starts with us. We should first look inward at our own intentions before we engage in public discourse and look for ways to enhance the discussion, rather than degrade it.