Why does this mesh deform while weightpainting?
if you switch your armature to rest pose in the armature tab, properties editor, you can be sure that all bones are in their default orientation and location, even with constraints on them. thats easier and faster than manually trying to find them and resetting values.