Hard to tell without a snippet of your code, but I have an implementation with a base Canvas which holds other Canvas layers and when I apply my scaling to the base Canvas, those canvases within the base Canvas scale as well. I don't, however, tie my base Canvas scaling to the scaling of the application window or browser window, so my shapes within my canvases stay the same size as I drag scale my application window.
If you have not tried already, you may wish to put those line shapes and markers in a Canvas contained within that map Canvas (the one with the black and brown border) since your map canvas appears to have scaling tied to the application container working properly. I'm not a fan of heavy duty layering of containers but in my case it conceptually and architecturally made sense. Hope that helps, --Danny

