[#3539554] fix(test): A small update is made to the CanvasEditor file for the correct functioning of the ai.spec.ts test,
By: jvbrian
Closes #3542219