So I am not so sure that this G-Code will solve the issue for everyone. I just opened up a new post and submitted a support ticket.
From my last print with downgraded firmware, I suspect that during tall prints at some point the Z axis is no longer adjusted properly after a hot end swap.
Check up my post here for details: Z Axis appears to not properly adjust after hot end change