Noticed this while looking up the same problem in 4.11. Since there is now a public issue tracker I figured I’d help by posting my workaround for designers.
Basically, since it’s only the under cursor checks that don’t return the material, doing a second regular line trace will return it for you. See the attached example.