P5.js Bug -- Need to press "run" twice

Bug description: All of my students are experiencing a bug where they need to press “run” multiple times to test their code and see the current version. If they typed 4 characters since they last ran sometimes they need to run 4 times.

Expected vs Current Behavior: Pressing run should show the current version of the code and not a previous.

Steps to reproduce: Open the link below and try adding a different color to any of the fills and then press run.

Bug appears at this link: https://replit.com/@DemoDemo1/113-HSB-ColorMode-Ellipse-1#script.js

Screenshot(s)/Screen Recording:

Browser/OS/Device: Google Chrome Version 119.0.6045.159 (Official Build) (x86_64)

Replit Profile: https://replit.com/@msShuman