Fixed #1615 fixed a typo bug for WebGL toggle