Handle resize in own WebGL viewers.