Handle render requests from the web worker