Editor: Simplified fog panel visibility code.