Fixed #3602: WEBGL now share the same viewport as canvas version