Added some checking for whether a canvas' root has been initialized. Preparing to implement the showing/hiding of nodes.