This makes sense, and maps to glfw well.
Could this be possible for keyboard input as well, only prevent default when the canvas is active?