Added a check on pages that require having a canvas ready