If you pause and unpause (with 'P') the mouse will capture. One of the weird aspects of the web build I wasn't sure how to overcome, unfortunately.