Accessing the position of the editor viewport camera

Have you tried unchecking “context sensitive”? Version 5.4.2 here

image