why does my panel frame moves when I move the camera?

When I move the camera, the panel should stay and only the camera should move with in the frame.
However my whole panel(frame) is moving.
how can I fix this?