Scaling parent, collider of child goes wrong when rotated

Screenshot by Lightshot - first pic

Screenshot by Lightshot - second pic

The first pic shows that the collider is okay when the parent of the Player isn’t scaled down. Meanwhile the second shows that when the parent of the Player is scaled down and the player gets rotated the bounds of the collider rect seem not to match anymore(they match when not rotated). My question is why does this happen and how can I fix it?

Click on the gameobject containing the collider then right click on the inspector panel of the upper right side of the collider and click reset hope it will work

So probably that’s just how things work in unity and I just unparanted the player GO from the MainGame and put a separate scale for it and it worked.