Fix three.js canvas missing from screenshots and video capture