patched core fix infinite loop

pathced core "Fix infinite loop when removing and immediately re-adding
a system/entity" from ash