Flux-trapping of rf fields in superconductors