Vehicle Seat camera returning to player even when subject is different

Hello everyone. I am trying to make a button that lets you switch your camera from the front of the train, to the back.

With the method I am using (Changing camera subject), the camera returns to the front of the train when zooming in. However, I want it to zoom in towards the seat at the back of the train.

I have tried changing the CameraType to Track, follow and Custom but none seem to help. Any solutions to this without using a regular seat?

Script:

local CameraFront = true
frame.Movement.Camera.MouseButton1Click:Connect(function()
	CameraFront = not CameraFront
	if CameraFront == false then
		local cam = workspace.CurrentCamera
		cam.CameraSubject = frame.Parent.Value.Value.RPowerCar.Body.Cockpit.VehicleSeat -- Vehicle seat at rear
		cam.CameraType = Enum.CameraType.Custom
		
	else
		local cam = workspace.CurrentCamera
		cam.CameraSubject = frame.Parent.Value.Value.FPowerCar.Body.Cockpit.VehicleSeat.Occupant -- Player humanoid
		cam.CameraType = Enum.CameraType.Custom
		
	end
end)

SOLVED! Making it look at a part instead of another vehicle seat.