Would it be possible to add a third state?
For example...
0 = Unfrozen
1 = Frozen(only moving when in continuous contact with an active body) as it works now.
And the third state.
2 = Initially Frozen(Frozen at first but changes state to 0 at first contact with an active body), kinda like it worked before you fixed the bug.
Wouldn't that work without interfering with how it works today?
For example if you want a body to hang frozen in mid air at start but want it to start falling if hit by another body,
or if you want to create a very high and unstable stack of bodies which normally would fall over before reaching equilibrium,
or if you want to place a domino brick on a slope, which wouldn't work because it would fall over before auto-sleeping.