The camera stays centered to the game layer, but expand shows more around all sides of the screen to fill out the space. So if you want to keep everything center to the screen, we need to subtract the space from the top and left of the expanded area. This example also adjusts the size of the object to keep the overall size of the objects to keep their compared to the camera zoom fullscreen.