The Influence of Mechanical Deformations on Surface Force Measurements