Please take a look at the following Youtube video:
Basically, when the joints are visible in the scene, the mesh deforms correctly. When the joints aren’t visible by turning off the layer’s visibility or the joint’s visibility, part of the skin stays behind. Not showing joints in the viewport also works correctly.
Has anyone ever encountered something like this?