Fix ConcurrentModificationException when removing entity from world while entities are being ticked