Check canvas size each frame and reconfigure the WebGPU surface when it changes. Fixes black screen when toggling dev tools or resizing the browser window. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>