You can try dragging your comp into a comp of the right dimensions and then hit the ‘collapse transformations’ toggle on the layer.
Or if it’s to do with the camera ranging from the top left, you could try clicking the advanced tab in the composition settings and anchor to the top left before you change the dimensions.