I would also take the entire motherboard off the mounting plate. Look at the holes where the mounting screws go thru, you may need to clean those to get a good ground connection. If the ground points are bad, or the MB plate to case contacts are corroded, then the wiggling could be causing just enough contact to make everything good. Sometimes just taking everything apart, cleaning contacts, and putting it back together will fix this kind of intermittent problem.
If you need to clean contacts, use a brand new pencil and use the eraser to gently run the corrosion off the contacts. Using an old used pencil can leave contaminants behind, and pressing to hard can actually cause the contacts to come off the board.