3d0dad7c

By: Michael Lynch <git@mtlynch.io>

Fix blank canvas after paste in Firefox

Firefox's default paste handling was interfering with the canvas after
drawImage, causing the rendered output to appear blank despite the
buffer containing correct pixel data. Adding e.preventDefault() to the
paste handler and a double-requestAnimationFrame redraw fixes the issue.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>