When getting the position or rotation of a custom camera object it does not return the current pos/rot of the camera but returns the pos/rotation of how it was placed in the editor.
Maybe this isn't a bug and rather has just not been implemented, if so maybe this can be moved to the suggestions sub.