Running a WebGL animation with React