The issue was related to drawing SVG that contains images. Since images needs to be embedded before the drawing, its code is asynchronous. The previous code was allowing the next elements to be drawn before the image, so they were overlapped by the image.
The issue was related to drawing SVG that contains images. Since images needs to be embedded before the drawing, its code is asynchronous. The previous code was allowing the next elements to be drawn before the image, so they were overlapped by the image.