The myth that a strange force somehow acts on the compass to make it not work had been debunked by the US Coast Guard who has this to say in 1970
I was discussing about this same topic with a Mexican and an Iranian that visited from Italy. I couldnt believe the myth was still held some people.
It is still very much alive and well :) Thank you.