The Camera and Canvas behave like this. They are two completely-different coordinate systems.
As long as the Canvas is set to Screen Space Overlay you’ll be fine.
Here are some notes on UI Anchoring, Scaling, CanvasScaler, etc: