Fixed resizing in WebGL widget.
Fixed resize problem.