Anchoring of vortex filaments in 3D excitable media