Head is not positioned right after changing body scaling

Hello, recently I came across a very annoying problem. Basically when I change the humanoid’s BodyWidthScale or BodyHeightScale, the head does not change position resulting in it glitching. Let me show you what I mean.

Before changing body scaling (correct position):

After changing body scaling (wrong position):

Any help is appreciated.

Note: While loading the character I Use :ReplaceBodyPartR15() because I use bundles to customize the character. Can that be the problem?