Backport NXEngine iOS fix - unsafe spikes