Perspective() and antialias don't seem to get along in p5.js web editor

Hi all, the sketch below works fine in Codepen, but the perspective() function only works as expected in the p5js web editor if I comment out the setAttributes line. Thoughts?

function setup() {
 createCanvas(800, 200, WEBGL);
 setAttributes('antialias', true);
 normalMaterial();
  
 let fov = 1.0* PI / 3.0;
 let cameraZ = 200;
 let fovy = fov;
 let aspect = 1.0;
 let zNear = cameraZ / 10.0;
 let zFar = cameraZ * 10.0;
 perspective(fov,aspect,zNear,zFar);

}

function draw() {
  background(200, 200, 100);
  push();
  rotateZ(frameCount * 0.02);
  rotateX(frameCount * 0.02);
  rotateY(frameCount * 0.02);
  box(50);
  pop();
}