Fix initialization order in JointModeHandle

g++ outputs a warning (which in our case is converted into an error) if the initialization order does not match the declaration order.