Sand shouldn't cause that issue, unless it was damp sand and a lot of it.

It would be worth taking it to a camera clinic and getting their opinion on it.