Revisiting the renormalization of Einstein–Maxwell theory at one-loop