When the engine leaves the wing under power they fly up due to lift loads on the inlet (the cross section is somewhat of an airfoil) and snap to the right due to gyroscopic action. For engines on the port wing they end up missing the inboard wing, while on the starboard side, the #3 engine intersects the #4 engine and the wing LE between the #3 and 4. Both for the B747 and the B707
The aircraft designer who designs the inlet can affect the lift action but there's not much you can do about the gyro loads .
BTW, catastrophic engine failures typically stop the fan fast enough that very little lift occur (inlet spillage) and no gyro loading, so expect the engine to fall away.
One could expect some differences if the fuel is interrupted several seconds before the engine is totally released. Thus the time-line sequence of separation could play a part.