The influence of contact angle on surface tension measurements by the ring detachment method