The other problem I always notice on top of all this is that when you pluck a string, it adds tension to it temporarily, so the pitch when you first play it is a little higher than the pitch as it settles down. The louder you play it, the more the effect.

In heavy metal, especially in modern down-tuned genres, this is often used as an artistic choice.