Fix resize method of WebGLRenderer

- Resize method didn't scale view element according to resolution