I'm not sure if this is a universal bug with CanvasLayer (2D) or just a quirk of my own projects, but when the property "follow viewport" of a canvas layer is disabled in the editor, the layer follows the camera, and when it is enabled, the camera can pan around the layer as if the layer was a static sprite.
Maybe this should be reported as a bug? I'd like to know if I'm missing something though