There is already a method in the camera object `switch_to_camera_frame()` which I am actually using in another test already, so I just changed this to use that.